package items;

import java.util.ArrayList;

public class LString 
{
	private ArrayList<String> lS;
	public int length;
	
	public LString()
	{
		lS = new ArrayList<String>();
		length = lS.size();
	}
	
	public void add(String str)
	{
		lS.add(str);
		length = lS.size();
	}
	
	public String get(int i)
	{
		return lS.get(i);
	}
	
	public int size()
	{
		length = lS.size();
		return lS.size();
	}
	
	public void set(int i , String str)
	{
		lS.set(i, str);
	}
	
}
